package com.heima.behavior.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.behavior.dtos.ArticleInfoDto;
import com.heima.model.behavior.dtos.BehaviorDto;
import com.heima.model.behavior.dtos.CollectionBehaviorDto;
import com.heima.model.behavior.pojos.ApBehavior;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chen
 * @since 2024-11-26
 */
public interface IApBehaviorService extends IService<ApBehavior> {

    void saveLikesBehavior(BehaviorDto dto);

    void saveReadBehavior(BehaviorDto dto);

    void saveUnLikesBehavior(BehaviorDto dto);

    void saveCollectionBehavior(CollectionBehaviorDto dto);

    Object loadArticleBehavior(ArticleInfoDto dto);
}
